import request from '@/utils/request'

// 查询两癌筛查人员列表
export function listC_b_screening_person(query) {
  return request({
    url: '/report/c_b_screening_person/list',
    method: 'get',
    params: query
  })
}

// 查询两癌筛查人员详细
export function getC_b_screening_person(id) {
  return request({
    url: '/report/c_b_screening_person/' + id,
    method: 'get'
  })
}

// 新增两癌筛查人员
export function addC_b_screening_person(data) {
  return request({
    url: '/report/c_b_screening_person',
    method: 'post',
    data: data
  })
}

// 修改两癌筛查人员
export function updateC_b_screening_person(data) {
  return request({
    url: '/report/c_b_screening_person',
    method: 'put',
    data: data
  })
}

// 删除两癌筛查人员
export function delC_b_screening_person(id) {
  return request({
    url: '/report/c_b_screening_person/' + id,
    method: 'delete'
  })
}
